/*
This file is part of vlc-remote.

vlc-remote is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

vlc-remote is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with vlc-remote.  If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 1.1
import com.meego 1.0

Rectangle {
    id: container
    width: 480
    anchors.margins: 0
    height: titleText.height + 10 + albumText.height + 10 + artistText.height + 10
    SystemPalette {id:activePalette}
    color: "black" //activePalette.window
    anchors.fill:  parent

    property alias artist: artistText.text
    property alias album: albumText.text
    property alias title: titleText.text

    Row {
        id: titleRow
        anchors.top: container.top
        anchors.margins: 0
        Text {
            id: titleText
            text:  "Title"
            color: "white" //activePalette.text
            font.pixelSize: 50
            font.letterSpacing: -4
            font.bold: false
            maximumLineCount: 2
            wrapMode: "WrapAtWordBoundaryOrAnywhere"
            width: container.width
        }
    }
    Row {
        id: albumRow
        anchors.top: titleRow.bottom
        anchors.margins: 0
        Text {
            id: albumText
            text:  "Album"
            color: "white" //activePalette.text
            font.pixelSize: 22
            font.letterSpacing: -2
            maximumLineCount: 1
            wrapMode: "WrapAtWordBoundaryOrAnywhere"
            width: container.width
        }
    }
    Row {
        id: artistRow
        anchors.top: albumRow.bottom
        anchors.margins: 0
        Text {
            id: artistText
            text: "Artist"
            color: "white" //activePalette.text
            font.pixelSize: 20
            font.letterSpacing: -1
            maximumLineCount: 1
            wrapMode: "WrapAtWordBoundaryOrAnywhere"
            width: container.width
        }
    }

}
